/**
 * @Question demo
 * @Date 2022/11/29 18:16
 * @Solution
 */
public class demo {
    public static void sequence_search(int[] alist,int v) {
        for(int i=0;i<alist.length;i++) {
            if(alist[i]==v) {
                System.out.println(i);
                return;
            }
        }
        System.out.println("没找到");
    }

    public static void main(String[] args) {
        int[] arr={4,3,5,1,233,66,99};
        sequence_search(arr,233);
    }
}
